vcpkg_from_github(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO xorz57/forest
    REF 32b7f643370356b21b7ca70ee306ab1a0ad67704 # 12.1.0
    SHA512 0598e067acd02d7c882105119db3f3d89ff4001d18faf125effe650478cbd4b436b297238b929cf48f1c6cc108e618859777a640719637e2086c1c1186ab30e0
    HEAD_REF master
)

# Handle headers
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.hpp")

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/forest RENAME copyright)
